import Layout from '@/layout'

const Vehicle = {
  path: '/vehicle',
  component: Layout,
  redirect: 'noRedirect',
  name: 'vehicle',
  meta: {
    title: '车辆管理',
    icon: 'chart'
  },
  children: [
    {
      path: 'car-models',
      component: () => import('@/views/Vehicle/car-models/index'),
      name: 'CarModels',
      meta: { title: '车型管理', noCache: true }
    },
    {
      path: 'vehicle-list',
      component: () => import('@/views/Vehicle/vehicle-list/index'),
      name: 'VehicleList',
      meta: { title: '车辆列表', noCache: true }
    },
    {
      path: 'car-register',
      component: () => import('@/views/Vehicle/car-register/index'),
      name: 'CarRegister',
      meta: { title: '回车登记', noCache: true }
    }
  ]
}

export default Vehicle
